package com.kpx.app.bean;

import java.io.Serializable;

/**
 * Created by congdy on 17/2/27.
 * 任务
 */

public class TaskBean implements Serializable {


    /**
     * authStatus : 1
     * commission : 0.01
     * continueByMonth : 1
     * ctime : 1493307683232
     * deposit : 200
     * detailUrl : http://myshowbusiness.nullwei.com/grouwup/good.html?=2155379775964160
     * dmId : 2155379775964160
     * goodsAmount : 0
     * level : 0
     * payStatus : 1
     * payType : 1
     * paymentPrice : 3160
     * planNum : 79
     * postage : 10
     * publishToShop : 1
     * purchaseAmount : 0
     * refundAddress : 广东-深圳
     * requirement : 0
     * requirementMap : {"sex":0,"weight":0,"height":0,"age":0}
     * requirementTxt : 1.玩不够2.王逗比3.王小川
     * sellerId : 2129967378629632
     * sellerShopId : 2138002083546112
     * serialNo : 11111
     * status : 1
     * steps : 5
     * taskFollows : 1
     * taskGoods : {"ctime":1493307792284,"dmId":2155381562672128,"goodsCategory":2017040318301120,"goodsMasterPics":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/27/7ea7d361558f48d3af364e4ce762be8f.png,http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/27/3d8f93e9ca9148ce8c1deafe87736277.png","goodsName":"王逗比服饰","goodsUrl":"http://www.leibee.cn","mainPic":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/27/7ea7d361558f48d3af364e4ce762be8f.png","taskId":2155379775964160}
     * taskType : 1
     * taskplan : 1
     * totalCommission : 2370.0
     * totalPostage : 790.0
     *
     * 任务的字段(taskFollows:1纯拍，2刷拍),
     * 订单的字段(orderFlloww:1纯拍，2刷拍),
     * purchaseAmount(自购金额),
     * outTradeNo(刷拍订单第三方下单单号),
     * outPayAmount(刷拍订单第三方下单付款金额)
     *刷拍要求：brushRequirement
     快递费说明：postageString
     刷拍流程图：brushWorkflowPic
     */
    /**
     * 是否显示倒计时 1是，2否
     **/
    private int isShowCountdown;
    /**
     * 服务器时间
     **/
    private long serverTime;

    /**
     * 截止时间
     */
    private long cutOffTime;
    private long pushPlanBeginTime;
    private long pushPlanEndTime;
    /**
     * 是否可抢单 1可抢，2不可抢
     */
    private int isSnatchStatus = 1;
    /**
     * 是否可抢单的文字说明
     */
    private String isSnatchStatusText = "立即抢单";
    private int authStatus;
    private double commission;
    private int continueByMonth;
    private long ctime;
    private int deposit;
    private int taskPushPlanNum;
    private String detailUrl;
    private String taskTypeIcon;
    private long dmId;
    private int goodsAmount;
    private int level;
    private int payStatus;
    private int payType;
    private int paymentPrice;
    private int planNum;
    private int postage;
    private int publishToShop;
    private int purchaseAmount;
    private String refundAddress;
    private int requirement;
    private RequirementMapBean requirementMap;
    private String requirementTxt;
    private long sellerId;
    private long sellerShopId;
    private String serialNo;
    private int status;
    private int steps;
    private int taskFollows;
    private TaskGoodsBean taskGoods;
    private int taskType;
    private int taskplan;
    private String totalCommission;
    private String totalPostage;

    public long getPushPlanBeginTime() {
        return pushPlanBeginTime;
    }

    public void setPushPlanBeginTime(long pushPlanBeginTime) {
        this.pushPlanBeginTime = pushPlanBeginTime;
    }

    public long getPushPlanEndTime() {
        return pushPlanEndTime;
    }

    public void setPushPlanEndTime(long pushPlanEndTime) {
        this.pushPlanEndTime = pushPlanEndTime;
    }

    public int getIsShowCountdown() {
        return isShowCountdown;
    }

    public void setIsShowCountdown(int isShowCountdown) {
        this.isShowCountdown = isShowCountdown;
    }

    public long getServerTime() {
        return serverTime;
    }

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public long getCutOffTime() {
        return cutOffTime;
    }

    public void setCutOffTime(long cutOffTime) {
        this.cutOffTime = cutOffTime;
    }

    public int getTaskPushPlanNum() {
        return taskPushPlanNum;
    }

    public void setTaskPushPlanNum(int taskPushPlanNum) {
        this.taskPushPlanNum = taskPushPlanNum;
    }

    public int getIsSnatchStatus() {
        return isSnatchStatus;
    }

    public void setIsSnatchStatus(int isSnatchStatus) {
        this.isSnatchStatus = isSnatchStatus;
    }

    public String getIsSnatchStatusText() {
        return isSnatchStatusText;
    }

    public void setIsSnatchStatusText(String isSnatchStatusText) {
        this.isSnatchStatusText = isSnatchStatusText;
    }

    public String getTaskTypeIcon() {
        return taskTypeIcon;
    }

    public void setTaskTypeIcon(String taskTypeIcon) {
        this.taskTypeIcon = taskTypeIcon;
    }

    public int getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(int authStatus) {
        this.authStatus = authStatus;
    }

    public double getCommission() {
        return commission;
    }

    public void setCommission(double commission) {
        this.commission = commission;
    }

    public int getContinueByMonth() {
        return continueByMonth;
    }

    public void setContinueByMonth(int continueByMonth) {
        this.continueByMonth = continueByMonth;
    }

    public long getCtime() {
        return ctime;
    }

    public void setCtime(long ctime) {
        this.ctime = ctime;
    }

    public int getDeposit() {
        return deposit;
    }

    public void setDeposit(int deposit) {
        this.deposit = deposit;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public long getDmId() {
        return dmId;
    }

    public void setDmId(long dmId) {
        this.dmId = dmId;
    }

    public int getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(int goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public int getPaymentPrice() {
        return paymentPrice;
    }

    public void setPaymentPrice(int paymentPrice) {
        this.paymentPrice = paymentPrice;
    }

    public int getPlanNum() {
        return planNum;
    }

    public void setPlanNum(int planNum) {
        this.planNum = planNum;
    }

    public int getPostage() {
        return postage;
    }

    public void setPostage(int postage) {
        this.postage = postage;
    }

    public int getPublishToShop() {
        return publishToShop;
    }

    public void setPublishToShop(int publishToShop) {
        this.publishToShop = publishToShop;
    }

    public int getPurchaseAmount() {
        return purchaseAmount;
    }

    public void setPurchaseAmount(int purchaseAmount) {
        this.purchaseAmount = purchaseAmount;
    }

    public String getRefundAddress() {
        return refundAddress;
    }

    public void setRefundAddress(String refundAddress) {
        this.refundAddress = refundAddress;
    }

    public int getRequirement() {
        return requirement;
    }

    public void setRequirement(int requirement) {
        this.requirement = requirement;
    }

    public RequirementMapBean getRequirementMap() {
        return requirementMap;
    }

    public void setRequirementMap(RequirementMapBean requirementMap) {
        this.requirementMap = requirementMap;
    }

    public String getRequirementTxt() {
        return requirementTxt;
    }

    public void setRequirementTxt(String requirementTxt) {
        this.requirementTxt = requirementTxt;
    }

    public long getSellerId() {
        return sellerId;
    }

    public void setSellerId(long sellerId) {
        this.sellerId = sellerId;
    }

    public long getSellerShopId() {
        return sellerShopId;
    }

    public void setSellerShopId(long sellerShopId) {
        this.sellerShopId = sellerShopId;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSteps() {
        return steps;
    }

    public void setSteps(int steps) {
        this.steps = steps;
    }

    public int getTaskFollows() {
        return taskFollows;
    }

    public void setTaskFollows(int taskFollows) {
        this.taskFollows = taskFollows;
    }

    public TaskGoodsBean getTaskGoods() {
        return taskGoods;
    }

    public void setTaskGoods(TaskGoodsBean taskGoods) {
        this.taskGoods = taskGoods;
    }

    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }

    public int getTaskplan() {
        return taskplan;
    }

    public void setTaskplan(int taskplan) {
        this.taskplan = taskplan;
    }

    public String getTotalCommission() {
        return totalCommission;
    }

    public void setTotalCommission(String totalCommission) {
        this.totalCommission = totalCommission;
    }

    public String getTotalPostage() {
        return totalPostage;
    }

    public void setTotalPostage(String totalPostage) {
        this.totalPostage = totalPostage;
    }


    public static class TaskGoodsBean implements Serializable {
        /**
         * ctime : 1493307792284
         * dmId : 2155381562672128
         * goodsCategory : 2017040318301120
         * goodsMasterPics : http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/27/7ea7d361558f48d3af364e4ce762be8f.png,http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/27/3d8f93e9ca9148ce8c1deafe87736277.png
         * goodsName : 王逗比服饰
         * goodsUrl : http://www.leibee.cn
         * mainPic : http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/27/7ea7d361558f48d3af364e4ce762be8f.png
         * taskId : 2155379775964160
         */

        private long ctime;
        private long dmId;
        private long goodsCategory;
        private String goodsMasterPics = "http";
        private String goodsName = "--";
        private String goodsUrl = "--";
        private String mainPic = "--";
        private long taskId;

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getDmId() {
            return dmId;
        }

        public void setDmId(long dmId) {
            this.dmId = dmId;
        }

        public long getGoodsCategory() {
            return goodsCategory;
        }

        public void setGoodsCategory(long goodsCategory) {
            this.goodsCategory = goodsCategory;
        }

        public String getGoodsMasterPics() {
            return goodsMasterPics;
        }

        public void setGoodsMasterPics(String goodsMasterPics) {
            this.goodsMasterPics = goodsMasterPics;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsUrl() {
            return goodsUrl;
        }

        public void setGoodsUrl(String goodsUrl) {
            this.goodsUrl = goodsUrl;
        }

        public String getMainPic() {
            return mainPic;
        }

        public void setMainPic(String mainPic) {
            this.mainPic = mainPic;
        }

        public long getTaskId() {
            return taskId;
        }

        public void setTaskId(long taskId) {
            this.taskId = taskId;
        }
    }
}
